From: Lars Ingebrigtsen Date: Mon, 20 Feb 2012 09:07:54 +0000 (+0000) Subject: gnus-msg.el: Fix bug with `C-u a' on topics (bug#10843) X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~697 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=788925e669622159abafd3c013ddbf06c15c587d;p=emacs.git gnus-msg.el: Fix bug with `C-u a' on topics (bug#10843) --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 81c91120a8f..52460496580 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,5 +1,8 @@ 2012-02-20 Lars Ingebrigtsen + * gnus-msg.el (gnus-group-post-news): Don't bug out on `C-u a' on + topics (bug#10843). + * nnimap.el (nnimap-log-command): Add the IMAP address to the log buffer. Suggested by Herbert Valerio Riedel. (nnimap-request-move-article): Delete the message from the correct IMAP diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el index f92dc5e91d0..bf75f94c195 100644 --- a/lisp/gnus/gnus-msg.el +++ b/lisp/gnus/gnus-msg.el @@ -640,7 +640,7 @@ a news." (if (= 1 (prefix-numeric-value arg)) (gnus-group-completing-read "Newsgroup" nil (gnus-read-active-file-p)) - (gnus-group-group-name)) + (or (gnus-group-group-name) "")) "")) ;; make sure last viewed article doesn't affect posting styles: (gnus-article-copy))